package com.cbg.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 表信息模型
 *
 * @author wangjuzheng
 * @date 2019-11-14
 **/
@Data
public class SelectedColListDTO implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 列id
     */
    @ApiModelProperty(value = "列id")
    private Long colId;

    /**
     * 列名
     */
    @ApiModelProperty(value = "列名")
    private String name;

    /**
     * 列注释
     */
    @ApiModelProperty(value = "列注释")
    private String nameCn;

    /**
     * 列显示名
     */
    @ApiModelProperty(value = "列显示名")
    private String colNameAlias;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（1启用 2冻结）")
    private Byte status;

    public SelectedColListDTO() {
    }

    public SelectedColListDTO(Long id, Long colId, String name, String nameCn, String colNameAlias, Byte status) {
        this.id = id;
        this.colId = colId;
        this.name = name;
        this.nameCn = nameCn;
        this.colNameAlias = colNameAlias;
        this.status = status;
    }
}
